home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_6.arc / WINDEV.ARC / WINVUE < prev    next >
Text File  |  1989-02-08  |  1KB  |  52 lines

  1. # WINVUE - A simple type program for windows
  2. #
  3. # Written by William S. Hall
  4. # 3665  Benton Street, #66
  5. # Santa Clara, CA 95051
  6. #
  7.  
  8. # location of scrolling window code
  9. ttydir=..\..\pwcommon\ttycls
  10.  
  11. # header macro
  12. headers=winvue.h $(ttydir)\ttycls.h
  13.  
  14. # compile macro
  15. cp=cl -c -AM -Gsw -Os -Zpe -W3 -DWINDOWS -I$(ttydir)
  16.  
  17. # libraries
  18. LIBS=mlibw mlibcew /NOD
  19.  
  20. #
  21. # make the resource file
  22. #
  23. winvue.res : winvue.rc winvue.h
  24.     rc -r winvue.rc
  25.  
  26. #
  27. # make the object files
  28. #
  29. winvue.obj : winvue.c $(headers)
  30.     $(cp)  -NT _WINVUERS winvue.c
  31.  
  32. winvuefn.obj : winvuefn.c $(headers)
  33.     $(cp) -NT _WINVUERS winvuefn.c
  34.  
  35. winvuent.obj : winvuent.c $(headers)
  36.     $(cp) -NT _WINVUENT winvuent.c
  37.  
  38. winvuems.obj : winvuems.c $(headers)
  39.     $(cp) -NT _WINVUEMS winvuems.c
  40.  
  41. ttycls.obj : $(ttydir)\ttycls.c $(ttydir)\ttycls.h
  42.     $(cp) -NT _WINVUERS $(ttydir)\ttycls.c
  43.  
  44. #
  45. # create the executable file, add resources, and make a map file
  46. #
  47. winvue.exe : winvue.def winvue.res \
  48.          winvue.obj winvuefn.obj winvuent.obj winvuems.obj ttycls.obj
  49.     link winvue+winvuefn+winvuent+winvuems+ttycls,/al:16,/m,$(LIBS),winvue
  50.     rc winvue.res
  51.     mapsym winvue
  52.